<div class="LeftCont">
    <div class="menuLeft">
        <ul>
            <?php if ($menuProductCate) { ?>
                <?php foreach ($menuProductCate as $category) { ?>
                    <li>
                        <a href="<?php echo urlAlias($category->name_alias); ?>"><?php echo $category->name; ?></a>
                        <?php if (!empty($category->children)) { ?>
                            <div class="productMenu">
                                <ul class="cap1">
                                    <?php for ($i = 0; $i < count($category->children); $i++) {
                                        ?>
                                        <?php if (isset($category)) { ?>
                                            <li class="pro_a0<?php echo ($i % 2) == 0 ? 1 : 2 ?>"><a href="<?php echo urlAlias($category->children[$i]->name_alias); ?>" title="<?php echo $category->children[$i]->name; ?>"><?php echo $category->children[$i]->name; ?></a></li>
                                        <?php } ?>
                                    <?php } ?>
                                </ul>
                            </div>
                        <?php } ?>
                    </li>    
                <?php } ?>
            <?php } ?>
        </ul>
    </div><!--menuLeft-->
</div>